<template>
  <div>
     <!-- 头部试图 -->
    <XHNavHeader :title="title"></XHNavHeader>

    <!-- {{msg}} -->
    <!--  -->
    <div class="ad-content">
      <HomeHeader></HomeHeader>
    </div>
  </div>
</template>


<script>
// 引入要使用的组件
//import Home from '@/components/HelloWorld'
import HomeHeader from "./HomeHeader"
import XHNavHeader from "../Public/XHNavHeader";


export default {
  name: "xxx",
  data() {
    return {
      // 数据初始化  init
      msg: "你二舅身份证,首页页面",
       title:'首页'
    };
  },
  methods: {
    // 所有方法在这里实现
    //clickAction(){
    //我是例子
    //}
  },
  mounted() {
    //获取 DOM 节点 == viewDidLoad
  },
  props: {
    //给父类传值
  },
  components: {
    HomeHeader,
    XHNavHeader
  }
};
</script>
<style scoped>
/* 样式处理 */
.ad-content{
  margin-top: 44px;
}
</style>